public class CatOrDog
{
	public static void main(String args [])
	{
		int x = Integer.parseInt(args[0]);
		if (x <= 0 || x > 3)
		{ System.out.println("no such animal, 请输入1或2"); }
		else
		{
			init(x);
		}
	}

	static void init(int x)
	{
		String voice = "";
		System.out.println("farm ready, we are gonna pick the animal u asked for");
		switch (x)
		{
			case 1:
				voice = godog(); break;
			case 2:
				voice = gocat();
		}
		System.out.println(voice);
	}

	static String godog()
	{
		System.out.print("u've picked a dog \t");
		String v = "汪!";
		return v;
	}

	static String gocat()
	{
		System.out.print("u've picked a cat \t");
		String v = "喵!";
		return v;
	}
}